package com.zyp.boot09.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration // 添加此注解后 工程启动时会自动加载此配置类
// Copy完整路径快捷键：CTRL + SHIFT + Alt + C
@MapperScan("com.zyp.boot09.mapper")// Mapper扫描注解，省去了每个Mapper接口都添加@Mapper
public class MyBatisConfig {

}
